import 'package:flutter/material.dart';
import 'package:fluro/fluro.dart';
import 'RoutesHandler.dart';

class Routes {
  static void configureRoutes(FluroRouter router) {
    router.define('/', handler: indexHandler);
    // router.define('/home', handler: indexHandler);
    router.define('/login', handler: loginHandler);
    router.define('/courseDetail', handler: CourseDetailHandler);
    router.define('/profile', handler: ProfilelHandler);
    router.define('/pay', handler: PayHandler);
    // router.define('/splash', handler: SplashHandler);
    router.define('/splash', handler: SplashHandler);
    router.notFoundHandler = notFoundHandler;
  }
}